package com.fishery.customization.service;


import com.fishery.customization.entity.DragLabel;
import com.fishery.customization.entity.LabelSequence;

import java.util.List;


public interface DragLabelService {

	/**
	 * 通过用户id获取用户拖拽后的标签顺序
	 *
	 * @param userId
	 * @return
	 */
	List<LabelSequence> getLabelSequenceByUserId(String userId);

	/**
	 * 通过用户id更新用户定义的标签顺序
	 *
	 * @param dragLabel
	 * @return
	 */
	boolean saveOrUpdateDragLabelByUserId(DragLabel dragLabel);
}
